//
//  Utils.h
//  小宝爱学
//
//  Created by imac on 15-8-13.
//  Copyright (c) 2015年 imac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


@interface Utils : NSObject
+(CGSize)getSizeByText:(NSString*)text andFontSize:(CGFloat)fontSize andMaxSize:(CGSize)maxSize;
+(float)heightForString:(NSString *)value font:(UIFont*)font andWidth:(float)width;



+(NSString*)getCurrentTime;
+(NSString*)getTextStrByText:(id)text;

//+(UIImage*)getEvaluationImageByText:(NSString*)text;
+(BOOL)isYesByText:(NSString*)text;// 是否  转 BOOL
+(BOOL)isAuthenticationByText:(NSString*)text;//是否 验证  转 BOOL
@end
